<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path;
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script type="text/javascript" src="<%=basePath %>/resource/js/common-css-js.js"></script>
<title>采购合同-修改</title>
</head>
<body>
   <form class="layui-form panel-body">
  	<input type="hidden" name="procureConId" />
  	<div class="layui-form-item">
    	<input type="text" name="procureConOrderNumber" lay-verify="required|intNumber" placeholder="采购计划单号" autocomplete="off" class="layui-input">
 	</div>
  	<div class="layui-form-item">
    	<input type="text" name="procureConProcureEnterprise" lay-verify="required|enterpriseName" placeholder="采购公司" autocomplete="off" class="layui-input">
  	</div>
  	<div class="layui-form-item">
    	<input type="text" name="procureConProcureAgent" lay-verify="required|peopleName" placeholder="(采购)委托代理人" autocomplete="off" class="layui-input">
  	</div>
  	<div class="layui-form-item">
    	<input type="text" name="procureConSupplierEnterprise"  lay-verify="required|enterpriseName" placeholder="供货公司" autocomplete="off" class="layui-input">
  	</div>
  	<div class="layui-form-item">
    	<input type="text" name="procureConSupplyAgent" lay-verify="required|peopleName" placeholder="(供货)委托代理人" autocomplete="off" class="layui-input">
  	</div>
  	<div class="layui-form-item">
    	<input type="text" id="dateScope" name="procureConSigningTitme" lay-verify="required|date" placeholder="签约日期" autocomplete="off" class="layui-input">
  	</div>
  	<div class="layui-form-item">
    	<input type="text" name="procureConSigningAddress" lay-verify="required" placeholder="签约地址" autocomplete="off" class="layui-input">
  	</div>
 <%@include file="/admin/commonsPage/submit-reset.html" %>
  </form>
  <script type="text/javascript">
  	//数据回现
  	var selected = parent.cTable.bootstrapTable('getSelections')
  	for(key in selected[0]){
  		$("input[name='"+key+"']").val(selected[0][key]);
  	}
  	requestUpdateData("/procurement/procurement-contract");
  </script>
</body>
</html>